﻿namespace Douyu.SDK.Messages
{
    /// <summary>
    /// 个人用户获取头衔的信息
    /// type@=gift_title/uname@=QQ3382231337/rname@=老实敦厚的笑笑/gt@=1/uid@=46706276/rid@=154537/gid@=-9999/
    /// </summary>
    public class GiftTitleMessage : BaseMessage
    {
        public GiftTitleMessage(BaseMessage msg) : base(msg)
        {
        }

        /// <summary>
        /// 用户昵称
        /// </summary>
        public string uname
        {
            get { return GetValue(nameof(uname), ""); }
        }

        /// <summary>
        /// 
        /// </summary>
        public string rname
        {
            get { return GetValue(nameof(rname), ""); }
        }

        /// <summary>
        /// 
        /// </summary>
        public int gt
        {
            get { return GetValue(nameof(gt), 0); }
        }

        /// <summary>
        /// 
        /// </summary>
        public int uid {
            get { return GetValue(nameof(uid), 0); }
        }

        /// <summary>
        /// 
        /// </summary>
        public int rid
        {
            get { return GetValue(nameof(rid), 0); }
        }

        /// <summary>
        /// 
        /// </summary>
        public int gid
        {
            get { return GetValue(nameof(gid), 0); }
        }

    }

}
